I posted this on forum.umbraco.org but since this is the new forum I thought it would be a good idea to also post it here.
Post 1:
Hello,
I would like to debug an umbraco project which is on a remote server. I did everything described on http://www.wictorwilen.se/Post/How-to-get-Remote-Debugging-work-properly.aspx and it works with a default asp.net webapplication, but when I try to debug and umbraco application the breakpoint is never hit. Does anyone know how this can be done? Normal debugging works like described on http://www.nibble.be/?p=26, but that's not what I need now.
Post 2:
I found the answer. The breakpoint didn't get hit because I only had readonly rights on the bin folder. After I was allowed to do everything the debugging worked :). More information about remote debugging can be found at:
I would like to update this post (is there a way to edit a pervious post?). Remote debugging also only works if not just the .dll but also the .pdb file is copied to the remote server. These are Program Debug Database files and without it remote debugging won't work.
Yeah you should never delete your PDB files. I should do a follow up post on why you shouldn't delete them (I wish I had time to investigate Symbol Server more to post on that!)
[SOLVED] Debug UserControl on remote server
I posted this on forum.umbraco.org but since this is the new forum I thought it would be a good idea to also post it here.
Post 1:
Hello,
I would like to debug an umbraco project which is on a remote server. I did everything described on
http://www.wictorwilen.se/Post/How-to-get-Remote-Debugging-work-properly.aspx and it works with a default asp.net webapplication, but when I try to debug and umbraco application the breakpoint is never hit. Does anyone know how this can be done? Normal debugging works like described on http://www.nibble.be/?p=26, but that's not what I need now.
Post 2:
I found the answer. The breakpoint didn't get hit because I only had readonly rights on the bin folder. After I was allowed to do everything the debugging worked :). More information about remote debugging can be found at:
http://www.wictorwilen.se/Post/How-to-get-Remote-Debugging-work-properly.aspx
http://msdn.microsoft.com/en-us/library/ms164725.aspx
http://support.microsoft.com/kb/910448
http://nul800sebastiaan.nl/blog/2009/6/1/easily-debug-your-custom-umbraco-user-controls-in-visual-studio
I would like to update this post (is there a way to edit a pervious post?). Remote debugging also only works if not just the .dll but also the .pdb file is copied to the remote server. These are Program Debug Database files and without it remote debugging won't work.
If anyone is interested as why you shouldn't leave the PDB file on the server once your debugging is done check out my post on PDB's - http://www.aaron-powell.com/blog/december-2008/pdb-!=-product-deployable-bits.aspx
Thank you for the tip slace! I'll remove them from the server (but won't delete them ;)) once development is done.
Yeah you should never delete your PDB files. I should do a follow up post on why you shouldn't delete them (I wish I had time to investigate Symbol Server more to post on that!)
is working on a reply...